package com.geovis.emergency.spd.entity.system.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * <p>
 * 字典信息保存DTO
 * </p>
 *
 * @author 王响
 * @since 2022-04-08
 */

@Getter
@Setter
@ToString(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "SystemParamSaveDTO", description = "系统参数保存DTO")
public class SystemParamSaveDTO implements Serializable {

    @ApiModelProperty(value = "主键id", required = true)
    @Length(max = 64, message = "主键id最长不能超过{64}个字符")
    private String id;

    @ApiModelProperty(value = "名称", required = true)
    @Length(max = 128, message = "名称最长不能超过{128}个字符")
    private String name;

    @ApiModelProperty(value = "值", required = true)
    @Length(max = 255, message = "值最长不能超过{255}个字符")
    private String value;

    @ApiModelProperty("备注")
    private String remark;

}
